
//------------------------------------------------------------------------------

using Apps.Models;
using System;
using System.ComponentModel.DataAnnotations;
namespace Apps.Models.API
{

	public partial class API_DETAILModel:Virtual_API_DETAILModel
	{
		
	}
    public class Virtual_API_DETAILModel
    {
        [Display(Name = "API接口系统编号"), Required, StringLength(40)]
        public virtual string API_ID { get; set; }
        [Display(Name = "API接口名称"), Required, StringLength(20)]
        public virtual string API_NAME { get; set; }
        //[Display(Name = "API接口URI地址"), Required, RegularExpression(@"^[hH][tT][tT][pP]([sS]?):\/\/(\S+\.)+\S{2,}$",ErrorMessage = "API接口URI地址格式非法")]
        [Display(Name = "API接口URI地址"), Required, StringLength(200), RegularExpression(@"^\/\S*$", ErrorMessage = "API接口URI地址格式非法")]
        public virtual string URI { get; set; }
        [Display(Name = "是否有效")]
        public virtual bool ENABLE { get; set; }
    }
}
